package com.whc.api.dto;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("订单创建类")
public class OrderDto implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long buyerId;
    private Long addressId;

    private List<OrderAndGoodsDto> detail;

}

